<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'tag.jsp' starting page</title>
  </head>
  <body>
    This is my JSP page. <br>
    
    <hr />
    <!--放入actioncontext  -->
    <h4>放入栈中 在栈顶 取值</h4>
    <s:iterator value="#list">
    	<s:property/>
    </s:iterator>
    <h4>放入actioncontext中  li </h4>
    <s:iterator value="#list" var="li">
    	<s:property value="#li"/>
    </s:iterator>
    
    <h4>放入栈中 在栈顶 取值       status 放在actioncontext</h4>
    <s:iterator begin="1" step="5" end="100" status="o" >
    	<s:property/>|-------|<s:property value="#o.index"/>+++++<s:property value="#o.count"/><br />
    </s:iterator>
    
     <h4>放入actioncontext中  i oo</h4>
    <s:iterator begin="1" step="10" end="100" var="i" status="oo" >
    	<s:if test="#i%3==0"><br /></s:if>
    	<s:property value="#i" />|+++++|<s:property value="#oo.first"/> 
    </s:iterator>
    
    
    
    
    <s:debug></s:debug>
  </body>
</html>
